﻿<UserControl  x:Class="WPFExcelReport.Controls.TPage"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
              Background="White"  
              Name="TV"
     > 
    <WrapPanel>
        <Button Grid.Row="0" Command="{Binding PrePageCommand}"  Height="20" Margin="5,0,0,0" Width="24" BorderBrush="White">
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/arrow-left.png" Stretch="Fill"/>
            </Button.Background>
        </Button>
         <TextBlock Text="共"></TextBlock>
        <TextBlock Text="{Binding Pages}"></TextBlock>
        <TextBlock Text="页,"></TextBlock>
        <TextBlock Text="{Binding Counts}"></TextBlock>
        <TextBlock Text="条,"></TextBlock>
        <TextBlock Text="第"></TextBlock>
        <TextBlock Text="{Binding PageNow}"></TextBlock>
        <TextBlock Text="页"></TextBlock>
        <Button Grid.Row="0" Command="{Binding NextPageCommand}"  Height="20" Margin="5,0,0,0" Width="24" BorderBrush="White">
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/arrow-right.png" Stretch="Fill" />
            </Button.Background>
        </Button>
     </WrapPanel> 
</UserControl >
